package com.example.demo.test.myThread.model;

public class SetUserThread implements Runnable {
    private User user;

    public SetUserThread(User user) {
        this.user = user;
    }

    @Override
    public void run() {
        user.setName("a");
        user.setAge(1);
    }


}
